ODNameResolver
- Superclasses
ODObject
- Subclasses
- none
An object of the
ODNameResolver
class provides for resolution of object specifiers in semantic events. TheODNameResolver
class works with theODSemanticInterface
class to resolve Apple event object specifiers sent between parts.Description
When a document is opened, the session object creates a single name-resolver object. All parts of that document share the name resolver; you can obtain a reference to it by calling the session object'sGetNameResolver
method (page 609). Your part's semantic interface can use the name resolver to initiate the resolution of an object specifier and to call your part's object accessors. Your part can also use the name resolver to create a swap token, which allows your part to pass the resolution of an object specifier to another part.For more information related to object accessors, see the
ODSemanticInterface
class description (page 579). For more information related to object specifiers and the Apple event object model, see the "Resolving and Creating Object Specifier Records" chapter of Inside Macintosh: Interapplication Communication and the chapter on scripting in theOpenDoc Programmer's Guide for the MacOS . Methods
This section presents summary descriptions of theODNameResolver
methods grouped according to purpose, followed by detailed descriptions in alphabetical order.Object Resolution
Token Manipulation
CallObjectAccessor
- Calls the object accessor of the calling part's semantic interface.
Resolve
- Resolves an object specifier into a token that identifies the target object.
CreateSwapToken
- Creates a token that passes resolution of an object specifier to another part.
DisposeToken
- Deallocates the internal structures of the specified token.
GetContextFromToken
- Gets references to the part and the frame in whose context the specified token was created.
IsODToken
- Returns a Boolean value that indicates whether the specified token object has been initialized to the proper format for an OpenDoc token.
GetUserToken
- Returns a reference to the descriptor object contained in the specified OpenDoc token.
Methods
CallObjectAccessor
CreateSwapToken
DisposeToken
GetContextFromToken
GetUserToken
IsODToken
Resolve
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help